/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.hanze.shoestring.dao;

import java.util.List;

/**
 *
 * @author alex
 */
public interface BaseDAO<T> {

    public T getById(Class<T> t, int id);

    public void add(T t);

    public void delete(T t);

    public void update(T t);

    public T getById(int id);

    public List<T> getAll();
}
